/*
 * UnitBar.h
 *
 *  Created on: 19.2.2013
 *      Author: Travis
 */

#pragma once

#ifdef _WIN32 
#include <windows.h> 
#include "SDL.h"
#else
#include "SDL/SDL.h"
#endif

#include "../gadgets/Form.h"
#include "../gadgets/Label.h"
#include "../gadgets/Button.h"
#include "../engine/engineSettings.h"

namespace GameLogic
{

const int MAX_UNITS_IN_BAR = 10;

extern Gadgets::Form *unitBar;

void initUnitBar();
void drawUnitBar();
void controlUnitBar(SDL_Event *event);
void insertUnitInBar(Gadgets::Form *u);

void setVisibleUnitBar(bool visible);

void deleteItemsUnitBar();

} /* namespace gameLogic */
